3.135 \(\int (a+b x) \left (e+f x^4\right )^2 \, dx\)

Optimal. Leaf size=60 \[ a e^2 x+\frac{2}{5} a e f x^5+\frac{1}{9} a f^2 x^9+\frac{1}{2} b e^2 x^2+\frac{1}{3} b e f x^6+\frac{1}{10} b f^2 x^{10} \]

[Out]

a*e^2*x + (b*e^2*x^2)/2 + (2*a*e*f*x^5)/5 + (b*e*f*x^6)/3 + (a*f^2*x^9)/9 + (b*f
^2*x^10)/10

_______________________________________________________________________________________

Rubi [A]  time = 0.121415, antiderivative size = 60, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067 \[ a e^2 x+\frac{2}{5} a e f x^5+\frac{1}{9} a f^2 x^9+\frac{1}{2} b e^2 x^2+\frac{1}{3} b e f x^6+\frac{1}{10} b f^2 x^{10} \]

Antiderivative was successfully verified.

[In]  Int[(a + b*x)*(e + f*x^4)^2,x]

[Out]

a*e^2*x + (b*e^2*x^2)/2 + (2*a*e*f*x^5)/5 + (b*e*f*x^6)/3 + (a*f^2*x^9)/9 + (b*f
^2*x^10)/10

_______________________________________________________________________________________

Rubi in Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \frac{2 a e f x^{5}}{5} + \frac{a f^{2} x^{9}}{9} + b e^{2} \int x\, dx + \frac{b e f x^{6}}{3} + \frac{b f^{2} x^{10}}{10} + e^{2} \int a\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((b*x+a)*(f*x**4+e)**2,x)

[Out]

2*a*e*f*x**5/5 + a*f**2*x**9/9 + b*e**2*Integral(x, x) + b*e*f*x**6/3 + b*f**2*x
**10/10 + e**2*Integral(a, x)

_______________________________________________________________________________________

Mathematica [A]  time = 0.00328463, size = 60, normalized size = 1. \[ a e^2 x+\frac{2}{5} a e f x^5+\frac{1}{9} a f^2 x^9+\frac{1}{2} b e^2 x^2+\frac{1}{3} b e f x^6+\frac{1}{10} b f^2 x^{10} \]

Antiderivative was successfully verified.

[In]  Integrate[(a + b*x)*(e + f*x^4)^2,x]

[Out]

a*e^2*x + (b*e^2*x^2)/2 + (2*a*e*f*x^5)/5 + (b*e*f*x^6)/3 + (a*f^2*x^9)/9 + (b*f
^2*x^10)/10

_______________________________________________________________________________________

Maple [A]  time = 0.001, size = 51, normalized size = 0.9 \[ a{e}^{2}x+{\frac{b{e}^{2}{x}^{2}}{2}}+{\frac{2\,aef{x}^{5}}{5}}+{\frac{bef{x}^{6}}{3}}+{\frac{a{f}^{2}{x}^{9}}{9}}+{\frac{b{f}^{2}{x}^{10}}{10}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((b*x+a)*(f*x^4+e)^2,x)

[Out]

a*e^2*x+1/2*b*e^2*x^2+2/5*a*e*f*x^5+1/3*b*e*f*x^6+1/9*a*f^2*x^9+1/10*b*f^2*x^10

_______________________________________________________________________________________

Maxima [A]  time = 6.07744, size = 68, normalized size = 1.13 \[ \frac{1}{10} \, b f^{2} x^{10} + \frac{1}{9} \, a f^{2} x^{9} + \frac{1}{3} \, b e f x^{6} + \frac{2}{5} \, a e f x^{5} + \frac{1}{2} \, b e^{2} x^{2} + a e^{2} x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((f*x^4 + e)^2*(b*x + a),x, algorithm="maxima")

[Out]

1/10*b*f^2*x^10 + 1/9*a*f^2*x^9 + 1/3*b*e*f*x^6 + 2/5*a*e*f*x^5 + 1/2*b*e^2*x^2
+ a*e^2*x

_______________________________________________________________________________________

Fricas [A]  time = 0.19369, size = 1, normalized size = 0.02 \[ \frac{1}{10} x^{10} f^{2} b + \frac{1}{9} x^{9} f^{2} a + \frac{1}{3} x^{6} f e b + \frac{2}{5} x^{5} f e a + \frac{1}{2} x^{2} e^{2} b + x e^{2} a \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((f*x^4 + e)^2*(b*x + a),x, algorithm="fricas")

[Out]

1/10*x^10*f^2*b + 1/9*x^9*f^2*a + 1/3*x^6*f*e*b + 2/5*x^5*f*e*a + 1/2*x^2*e^2*b
+ x*e^2*a

_______________________________________________________________________________________

Sympy [A]  time = 0.057771, size = 58, normalized size = 0.97 \[ a e^{2} x + \frac{2 a e f x^{5}}{5} + \frac{a f^{2} x^{9}}{9} + \frac{b e^{2} x^{2}}{2} + \frac{b e f x^{6}}{3} + \frac{b f^{2} x^{10}}{10} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x+a)*(f*x**4+e)**2,x)

[Out]

a*e**2*x + 2*a*e*f*x**5/5 + a*f**2*x**9/9 + b*e**2*x**2/2 + b*e*f*x**6/3 + b*f**
2*x**10/10

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.207954, size = 68, normalized size = 1.13 \[ \frac{1}{10} \, b f^{2} x^{10} + \frac{1}{9} \, a f^{2} x^{9} + \frac{1}{3} \, b f x^{6} e + \frac{2}{5} \, a f x^{5} e + \frac{1}{2} \, b x^{2} e^{2} + a x e^{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((f*x^4 + e)^2*(b*x + a),x, algorithm="giac")

[Out]

1/10*b*f^2*x^10 + 1/9*a*f^2*x^9 + 1/3*b*f*x^6*e + 2/5*a*f*x^5*e + 1/2*b*x^2*e^2
+ a*x*e^2